﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Business
{

    public interface IRegionManager
    {
        System.Collections.ObjectModel.ObservableCollection<IUIRegion> Regions { get; set; }
    }

    public interface IUser
    {
        DateTime? LastLoginTime { get; set; }
        string LoginTime { get; set; }
        System.Collections.ObjectModel.ObservableCollection<IRole> Roles { get; set; }
        string UserName { get; set; }
    }

    public interface IRole
    {
        int ID { get; set; }
        string Name { get; set; }
        System.Collections.ObjectModel.ObservableCollection<IRegion> Regions { get; set; }
    }

    public interface IRegion
    {
        int RegionID { get; set; }
        string RegionName { get; set; }
    }

    public interface IUIRegion : IRegion
    {
        System.Windows.Controls.ContentControl Reference { get; set; }
    }

}
